Language Support and Compilation Techniques for Regions
نویسندگان
چکیده
Region-based memory management systems structures memory by grouping objects in regions under program control. Memory is reclaimed by deleting regions, freeing all objects stored therein. Our compiler for C with regions, RC, prevents unsafe region deletions by keeping a count of references to each region. RC is compiled to C. Using type annotations that make the structure of a program’s regions more explicit and a reference counting scheme that optimises reference count operations on local variables, we reduce the overhead of reference counting from a maximum of 27% to a maximum of 18% on our benchmarks. We generalise these annotations in a region type system whose main novelty is the use of existentially quantified abstract regions to represent pointers to objects whose region is partially or totally unknown.
منابع مشابه
Pre-compilation for .NET Generics
The Microsoft .NET Common Language Runtime (CLR) supports pre-compilation in order to help avoid the slow application start-up times and unnecessarily high memory usage often associated with virtual machine (VM) execution, However, Version 2 of the .NET Common IL (CIL) also supports generics, i.e. type parameters for data and code, in part implemented using template-expansion techniques, and th...
متن کاملA flexible framework for studying trace-based just-in-time compilation
Just-in-time compilation has proven an effective, though effort-intensive, choice for realizing performant language runtimes. Recently introduced JIT compilation frameworks advocate applying meta-compilation techniques such as partial evaluation or meta-tracing on simple interpreters to reduce the implementation effort. However, such frameworks are few and far between. Designed and highly optim...
متن کاملAnalysis of Language Legislation of All 85 Russian Federation’s Subjects (Regions)
The analysis of the language legislation of all 85 subjects of the Russian Federation shows complete heterogeneity and diversity. Common legal guidelines in Federal law do not exist, because Federal legislation is obsolete and is largely whitespace and conflict. The subjects of the Russian Federation, on whose territory different ethnic groups, both large and indigenous, historically live, solv...
متن کاملExamining Committee
Adaptive Just-in-Time (JiT) compilers employ a wide range of techniques to concentrate compilation efforts in the most promising spots of the application. The goal is to balance tight compilation budgets with appropriate level of code quality. Such techniques include profiling to identify hot spots in the application, using multiple compilation strategies, and performing aggressive optimization...
متن کاملCompilation of the Relationship between Psychosocial Factors and Self-Efficacy of Pain by Mediating Optimism and Psychological Hardiness in Cancer Patients
Introduction: Due to the prevalence of psychological damage in cancer patients, some studies indicate the role of psychological structures in compromising cancer. The purpose of this study was to develop a model for the relationship between psychosocial factors and self-efficacy of pain by mediating optimism and psychological hardiness in patients with cancer in Urmia. Methods: This study was c...
متن کاملCompilation Using Correct-by-Construction Program Synthesis
Extracting and compiling certified programs may introduce bugs in otherwise proven-correct code, reducing the extent of the guarantees that proof assistants and correct-byconstruction program-derivation frameworks provide. We present a novel approach to the extraction and compilation of embedded domain-specific languages developed in a proof assistant (Coq), showing how it allows us to extend c...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000